import App from './App'
import request from './common/request.js'
import api from './api/index.js'
import apiQjc from './api/roomQjc.js'
import store from './store'
import { interactive } from '@/common/interactive.js'
import urlConfig from '@/common/urlConfig.js'

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
Vue.prototype.$request = request
Vue.prototype.$api = api
Vue.prototype.$store = store
Vue.prototype.$interactive = interactive
Vue.prototype.$apiQjc = apiQjc
Vue.prototype.$urlConfig = urlConfig;


const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
